<?php
namespace app\web\plug;

use app\admin\library\PowerPlug;

class AdminPower extends PowerPlug{
    public function __construct(){
        parent::__construct('web','网站后台');

        $part = new PowerPlug('part','栏目管理');

        $this->add($part);

        $article = new PowerPlug('article','文章管理');

        $this->add($article);

        $block = new PowerPlug('block','区块管理');

        $this->add($block);

        $template = new PowerPlug('template','模板管理');
        $this->add($template);

        $setting = new PowerPlug('setting','设置');
        $this->add($setting);

    }
}